<script setup>

</script>

<template>
  <div class="boxall">
    <div class="box-header">
      <slot name="header"></slot>
    </div>
    <div class="box-main">
      <slot></slot>
    </div>
  </div>
</template>

<style scoped>
  .boxall {
    display: flex;
    flex-direction: column;
    height: 100%;
    .box-header {
      font-weight: bold;
      text-align: center;
    }
    .box-main {
      flex-grow: 1;
      width: 100%;
    }
  }
</style>